﻿@model IEnumerable<FCNS.ERP.Models.DefineClass.DefineHouseReportDetail>

@{
    ViewBag.Title = "CostDetail";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.HouseName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.RoomName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CorSName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CorSTel)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LastPayDay)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LastPayMoney)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NextPayDay)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NextPayMoney)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Summary)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.HouseName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.RoomName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CorSName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CorSTel)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LastPayDay)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LastPayMoney)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NextPayDay)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NextPayMoney)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Summary)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
    </tr>
}

</table>
